import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;

public class test6 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("D:\\Videos\\Captures\\原神 2024-10-14 14-07-10.mp4");
        FileOutputStream fos = new FileOutputStream("D:\\Videos\\Captures\\1.mp4");
        int b;
        long startTime = System.currentTimeMillis();
        while ((b = fis.read()) != -1) {
            fos.write(b);
        }
        long endTime = System.currentTimeMillis();
        System.out.println((endTime - startTime)/1000);
        fos.close();
        fis.close();
    }
}
